package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhengSaiNan
 * @since 2019-11-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_shipping")
public class Shipping extends Model<Shipping> {

    private static final long serialVersionUID=1L;
/**/
    /**
     * 物理id
     */
    private String id;

    /**
     * 订单编号
     */
    private String orderNum;

    /**
     * 发货单号
     */
    private String shippingNum;

    /**
     * 配送方式id
     */
    private String shippingMethodId;

    /**
     * 配送车辆id
     */
    private String shippingTruckId;

    /**
     * 发货时间
     */
    private String shippingDate;

    /**
     * 司机id
     */
    private String driverId;

    /**
     * 出发地
     */
    private String startPlace;

    /**
     * 目的地
     */
    private String endPlace;
    /**
     * 距离
     */
    private String distance;
    /**
     * 公司Id
     */
    private String companyId;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
